-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test for spamaway #7276
Test for spamaway #7276
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7276 +/- ##
==========================================
+ Coverage 61.25% 81.6% +20.34%
==========================================
Files 97 97
Lines 5709 5599 -110
==========================================
+ Hits 3497 4569 +1072
+ Misses 2212 1030 -1182
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Great
@Uzay-G @VladimirMikulic what are your views? |
test/integration/signup_flow_test.rb
Outdated
@@ -80,6 +80,25 @@ def setup | |||
assert response.body.include? 'errors prohibited this user from being saved' | |||
assert response.body.include? 'Email should look like an email address.' | |||
end | |||
test 'spamaway text area not blank error message' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be an empty line between the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test 'something' do
# Logic
end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please resolve the issue with Travis.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job @sssash18 🚀
@SidharthBansal we can merge this :) |
Thank you @SidharthBansal @VladimirMikulic for your approval. |
@VladimirMikulic @SidharthBansal Are their any more tests we need to add that I can help with? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops! Travis is broken, we can not merge this until Travis is fixed.
@VladimirMikulic Could you guide me about how to fix Travis here? |
Ping any of us(@jywarren @SidharthBansal @VladimirMikulic @Uzay-G @cesswairimu ) if travis still fails |
Let me test it locally. |
Sure
…On Fri, Jan 17, 2020 at 9:25 PM Vladimir Mikulic ***@***.***> wrote:
Let me test it locally.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7276?email_source=notifications&email_token=AFAAEQ5GH7OHI36AG5DSXRDQ6HIGBA5CNFSM4KIDYIJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJIDTXY#issuecomment-575683039>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFAAEQZCABIYI47M75CPE63Q6HIGBANCNFSM4KIDYIJQ>
.
|
Aha! I know where is the problem, should have noticed that earlier 😄 |
Check out my review comment. |
Sorry all of you for such a silly mistake |
Fingers 🤞 |
No problem Suyash. If you will review my prs I can bet there will be 100
such errors.
…On Fri, Jan 17, 2020 at 9:46 PM Suyash Choudhary ***@***.***> wrote:
Sorry all of you for such a silly mistake
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7276?email_source=notifications&email_token=AFAAEQ33657BPYSAUE7DT3TQ6HKVZA5CNFSM4KIDYIJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJIF3RY#issuecomment-575692231>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFAAEQYVRHTNPCG7QA5ZE53Q6HKVZANCNFSM4KIDYIJQ>
.
|
@sssash18 don't apologise! It happens to everyone. |
We all are learning. Its important to continue learning despite of failures
and successes too
On Fri, Jan 17, 2020 at 9:47 PM Sidharth Bansal <
bansal.sidharthcode@gmail.com> wrote:
… No problem Suyash. If you will review my prs I can bet there will be 100
such errors.
On Fri, Jan 17, 2020 at 9:46 PM Suyash Choudhary ***@***.***>
wrote:
> Sorry all of you for such a silly mistake
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#7276?email_source=notifications&email_token=AFAAEQ33657BPYSAUE7DT3TQ6HKVZA5CNFSM4KIDYIJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJIF3RY#issuecomment-575692231>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AFAAEQYVRHTNPCG7QA5ZE53Q6HKVZANCNFSM4KIDYIJQ>
> .
>
|
@SidharthBansal I think now it's fine. |
Congratulations @sssash18 🚀 🚀 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Just checking are you a GCI student?
This is awesome 🎉 🎉 |
|
* Added 'spamaway_textarea blank error' test * Added empty line between the test * Added 'do'
* Added 'spamaway_textarea blank error' test * Added empty line between the test * Added 'do'
Fixes #4321 (<=== Add issue number here)
(part of issue)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!